package com.wulwu.caffeine.mapper;

import com.wulwu.caffeine.entity.OrderStateMachine;
import com.wulwu.caffeine.entity.OrderStateMachineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderStateMachineMapper {
    int countByExample(OrderStateMachineExample example);

    int deleteByExample(OrderStateMachineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderStateMachine record);

    int insertSelective(OrderStateMachine record);

    List<OrderStateMachine> selectByExample(OrderStateMachineExample example);

    OrderStateMachine selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderStateMachine record, @Param("example") OrderStateMachineExample example);

    int updateByExample(@Param("record") OrderStateMachine record, @Param("example") OrderStateMachineExample example);

    int updateByPrimaryKeySelective(OrderStateMachine record);

    int updateByPrimaryKey(OrderStateMachine record);
}